package com.myworld.auth.client;

import com.myworld.framework.client.MyServiceList;
import com.myworld.framework.domain.ucenter.ext.MyUserExt;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value= MyServiceList.MY_SERVICE_UCENTER)
public interface UserClient {
    //根据账号查询用户信息
    @GetMapping("/ucenter/getuserext")
    public MyUserExt getUserext(@RequestParam("username") String username);
}
